from django.urls import path
from .views import image_to_pdf, images_to_pdf, compress_pdf, generate_word_document

urlpatterns = [
    path('image-to-pdf/<str:image_path>/', image_to_pdf, name='image_to_pdf'),
    path('images-to-pdf/', images_to_pdf, name='images_to_pdf'),
    path('compress-pdf/<str:pdf_path>/<str:output_path>/', compress_pdf, name='compress_pdf'),
    path('generate-word-doc/', generate_word_document, name='generate_word_doc'),
]